package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.TCkPickingwavegoodsBackMapper;
import com.ruoyi.system.domain.TCkPickingwavegoodsBack;
import com.ruoyi.system.service.ITCkPickingwavegoodsBackService;

/**
 * 出库历史查询Service业务层处理
 *
 * @author ruoyi
 * @date 2024-09-12
 */
@Service
public class TCkPickingwavegoodsBackServiceImpl implements ITCkPickingwavegoodsBackService
{
    @Autowired
    private TCkPickingwavegoodsBackMapper tCkPickingwavegoodsBackMapper;

    /**
     * 查询出库历史查询
     *
     * @param PICKINGID 出库历史查询主键
     * @return 出库历史查询
     */
    @Override
    public TCkPickingwavegoodsBack selectTCkPickingwavegoodsBackByPICKINGID(String PICKINGID)
    {
        return tCkPickingwavegoodsBackMapper.selectTCkPickingwavegoodsBackByPICKINGID(PICKINGID);
    }

    @Override
    public List<TCkPickingwavegoodsBack> selectFirstTCkPickingwavegoodsBackList(TCkPickingwavegoodsBack tCkPickingwavegoodsBack) {
        return tCkPickingwavegoodsBackMapper.selectFirstTCkPickingwavegoodsBackList(tCkPickingwavegoodsBack);
    }

    /**
     * 查询出库历史查询列表
     *
     * @param tCkPickingwavegoodsBack 出库历史查询
     * @return 出库历史查询
     */
    @Override
    public List<TCkPickingwavegoodsBack> selectTCkPickingwavegoodsBackList(TCkPickingwavegoodsBack tCkPickingwavegoodsBack)
    {
        return tCkPickingwavegoodsBackMapper.selectTCkPickingwavegoodsBackList(tCkPickingwavegoodsBack);
    }

    /**
     * 新增出库历史查询
     *
     * @param tCkPickingwavegoodsBack 出库历史查询
     * @return 结果
     */
    @Override
    public int insertTCkPickingwavegoodsBack(TCkPickingwavegoodsBack tCkPickingwavegoodsBack)
    {
        return tCkPickingwavegoodsBackMapper.insertTCkPickingwavegoodsBack(tCkPickingwavegoodsBack);
    }

    /**
     * 修改出库历史查询
     *
     * @param tCkPickingwavegoodsBack 出库历史查询
     * @return 结果
     */
    @Override
    public int updateTCkPickingwavegoodsBack(TCkPickingwavegoodsBack tCkPickingwavegoodsBack)
    {
        return tCkPickingwavegoodsBackMapper.updateTCkPickingwavegoodsBack(tCkPickingwavegoodsBack);
    }

    /**
     * 批量删除出库历史查询
     *
     * @param PICKINGIDs 需要删除的出库历史查询主键
     * @return 结果
     */
    @Override
    public int deleteTCkPickingwavegoodsBackByPICKINGIDs(String[] PICKINGIDs)
    {
        return tCkPickingwavegoodsBackMapper.deleteTCkPickingwavegoodsBackByPICKINGIDs(PICKINGIDs);
    }

    /**
     * 删除出库历史查询信息
     *
     * @param PICKINGID 出库历史查询主键
     * @return 结果
     */
    @Override
    public int deleteTCkPickingwavegoodsBackByPICKINGID(String PICKINGID)
    {
        return tCkPickingwavegoodsBackMapper.deleteTCkPickingwavegoodsBackByPICKINGID(PICKINGID);
    }
}
